package io;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

public class PWDemo {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw=new PrintWriter("pw.txt");
        pw.println("他是这里最帅的人");
        pw.println("没有人比他更帅的了");
        System.out.println("写出完毕");
        pw.close();
    }
}
